<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>注册页</title>
    <link rel="stylesheet" href="css/common.css"/>
</head>
<body background="3.jpg" style="background-image: initial">
<form method="post" action="register">
    <div class="box">
        <div>
            <label>用户名:</label><input name="userName" />
        </div>
        <div>
            <label>手机号:</label><input name="phoneNo" />
        </div>
        <div>
            <label>邮箱:</label><input name="email" />
        </div>
        <div style="display: flex;">
            <label>性别:</label>
            <input type="radio" name="sex" value="1" /><span>男</span>
            <input type="radio" name="sex" value="0"/><span>女</span>
        </div>
        <div>
            <label>密码:</label><input type="password" name="passwd" />
        </div>
        <div>
            <label>确认密码:</label>  <input  type="password" name="passwd1" />
        </div>
        <div>
            <label>爱好:</label>
            <input type="checkbox" name="hobby" value="1"/> <span>唱歌</span>
            <input type="checkbox" name="hobby" value="2"/> <span>跳舞</span>
            <input type="checkbox" name="hobby" value="3"/> <span>篮球</span>
        </div>
        <div>
            <label>地址:</label>
            <select name="addr">
                <option value="0">北京</option>
                <option value="1">上海</option>
                <option value="2">黑龙江</option>
            </select>
        </div>
        <div class="but"> <button> 提交 </button> </div>
    </div>
</form>
</body>
</html>